<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box {
      background-color: orange;
    }

    .box img {
      display: block;
      /* vertical-align: bottom; */
      /* 
        ■解决图片下边缘的间隙方法：
        口方法一：设置成top/middle/bottom
        口方法二：将图片设置为block元素
      */
    }
  </style>
</head>
<body>
  <!-- img是行内级元素，默认以基线对齐，默认会留有底线 -->
  <div class="box">
    <img src="../images/kobe01.jpg" alt="">
  </div>

</body>
</html>